package com.molichuxing.gateway.api.services;

import java.util.Map;

import com.molichuxing.framework.dto.Paged;
import com.molichuxing.framework.result.ResponseResult;
import com.molichuxing.gateway.bff.risk.entity.request.create.BlacklistCreateVo;
import com.molichuxing.gateway.bff.risk.entity.request.modify.BlacklistModifyVo;
import com.molichuxing.gateway.bff.risk.entity.response.BlacklistVo;
import com.molichuxing.gateway.bff.risk.entity.response.CreditRecognitionVo;

/**
 * 
 * @author liyg
 * 风控web接口
 * 2019-08-31
 *
 */
public interface RiskApiService {

	/**
	 * 获取黑名单列表
	 * @param map
	 * @return
	 */
	ResponseResult<Paged<BlacklistVo>> getBlacklistList(Map<String, Object> map);

	/**
	 * 创建黑名单
	 * @param createVo
	 * @return
	 */
	ResponseResult<Boolean> createBlacklist(BlacklistCreateVo createVo);

	/**
	 * 移除黑名单
	 * @param modifyVo
	 * @return
	 */
	ResponseResult<Boolean> deleteBlacklist(BlacklistModifyVo modifyVo);

	/**
	 * 获取用户征信信息
	 * @param userId
	 * @return
	 */
	ResponseResult<CreditRecognitionVo> getCreditRecognition(Integer userId);

	/**
	 * 用户列表-移除黑名单
	 * @param modifyVo
	 * @return
	 * 
	 */
	ResponseResult<Boolean> deleteUserBlacklist(BlacklistModifyVo modifyVo);

}
